package cn.tedu.submarine;
//侦查潜艇类
import javax.swing.*;
import java.util.Random;
public class ObserveSubmarine extends SeaObject implements EnemyScore{

    public int getScore(){
        return 10;
    }
    /** 构造方法*/
    public ObserveSubmarine(){
        super(63,19);
    }
    public void step(){
        x+=speed;
    }
    public ImageIcon getImage() {
        if (isLive()) {
            return Images.obsersubm;
        }else if(isSecond()){
            return Images.plane_6;
        }else{
            return null;
        }
    }
}
